package com.gzx.plugin.tjzy.modular.sms.whitelist.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gzx.plugin.tjzy.modular.sms.whitelist.bo.GzxSmsWhitelistAddOrEditBo;
import com.gzx.plugin.tjzy.modular.sms.whitelist.bo.GzxSmsWhitelistImportBo;
import com.gzx.plugin.tjzy.modular.sms.whitelist.bo.GzxSmsWhitelistQueryBo;
import com.gzx.plugin.tjzy.modular.sms.whitelist.entity.GzxSmsWhitelist;
import com.gzx.plugin.tjzy.modular.sms.whitelist.vo.GzxSmsWhitelistVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author xbl
 */
public interface GzxSmsWhitelistService {

    /**
     * 分页查询短信白名单
     */
    Page<GzxSmsWhitelistVo> pageList(GzxSmsWhitelistQueryBo smsWhitelistQueryBo);

    /**
     * 短信白名单新增或者修改
     */
    void addOrEdit(GzxSmsWhitelistAddOrEditBo smsWhitelistAddOrEditBo);

    /**
     * 删除短信白名单
     */
    void delete(Long id);

    /**
     * 根据当月查询短信白名单
     */
    List<GzxSmsWhitelist> queryByCurrentMonth(GzxSmsWhitelistQueryBo queryBo);

    /**
     * 短信白名单导入
     */
    void importExcel(GzxSmsWhitelistImportBo importBo, MultipartFile multipartFile);
}
